package com.mmall.user.api.dto;

import com.common.framework.dto.BaseDTO;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @author jianghucoding
 * @date 2019-10-17
 */
@Data
@Accessors(chain = true)
public class UserDTO extends BaseDTO {

    private final long serialVersionUID = 1L;

    @NotNull(message = "手机号不能为空")
    private Long mobile;

    private String nickname;

    private String avatar;
}
